package com.ruoyi.huanghefd.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.huanghefd.domain.LimitWorkApproveSheet;
import com.ruoyi.huanghefd.domain.WorkApproveSheet;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.huanghefd.utils.PageBean;

/**
 * @author gnplum
 * @description 针对表【work_approve_sheet(作业审批单)】的数据库操作Service
 * @createDate 2024-12-12 15:04:59
 */
public interface WorkApproveSheetService extends IService<WorkApproveSheet> {
    /**
     * @param workApproveSheet
     * @return com.ruoyi.huanghefd.domain.ResultWS
     * @Author gnplum
     * @Description 新增
     * @Date 9:35 2024/12/12
     **/
    AjaxResult addWorkApproveSheet(WorkApproveSheet workApproveSheet);

    /**
     * @param strAsCode
     * @return com.ruoyi.huanghefd.domain.ResultWS
     * @Author gnplum
     * @Description //删除
     * @Date 9:35 2024/12/12
     **/
    AjaxResult delWorkApproveSheet(String strAsCode);

    /**
     * @param workApproveSheet
     * @return com.ruoyi.huanghefd.domain.ResultWS
     * @Author gnplum
     * @Description //更新
     * @Date 9:35 2024/12/12
     **/
    AjaxResult uptWorkApproveSheet(WorkApproveSheet workApproveSheet);

    /**
     * @param strAsCode,strAsDept,strAsState,strUserId,strMailType,pageNum,pageSize
     * @return com.ruoyi.huanghefd.domain.ResultWS
     * @Author gnplum
     * @Description //分页查询
     * @Date 9:35 2024/12/12
     **/
    PageBean queryWorkApproveSheetByPage(String strAsCode, String strAsDept, String strAsState, String strUserId, String strMailType, String strAsType, int pageNum, int pageSize);

}
